|
Ubicación del menú |
---|
Arch → Rebar tools |
Bancos de trabajo |
Arch |
Acceso directo |
None |
Ver también |
LShape Rebar |
Este comando es parte del Reinforcement AddOn, que puedes instalar a través del menú Tools → Addons Manager |
La herramienta UShape Rebar permite al usuario crear una barra de refuerzo de forma de U en el elemento estructural.
This tool is part of the Reinforcement Workbench, an external workbench that can be installed with the Addon Manager.
Task panel for the tool
La herramienta UShape Rebar puede utilizarse en macros y desde la consola de python utilizando la siguiente función:
Rebar = makeUShapeRebar(f_cover, b_cover, r_cover, l_cover,
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation="Bottom",
structure=None, facename=None)
Ejemplo: Creando la barra de refuerzo de forma de U.
import FreeCAD, Arch, UShapeRebar
Structure = Arch.makeStructure(length=1000, width=1000, height=400)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
Rebar = UShapeRebar.makeUShapeRebar(50, 20, 20, 20,
8, 50, 4, True, 6, "Bottom", Structure, "Face4")
Rebar.ViewObject.ShapeColor = (0.9, 0.0, 0.0)
Rebar2 = UShapeRebar.makeUShapeRebar(50, 50, 20, 20,
8, 50, 4, True, 6, "Bottom", Structure, "Face6")
Rebar2.ViewObject.ShapeColor = (0.0, 0.0, 0.9)
Cambio de propiedades de la barra de refuerzo de forma de U.
editUShapeRebar(Rebar, f_cover, b_cover, r_cover, l_cover,
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation,
structure=None, facename=None)
Rebar
is a previously created UShapeRebar
object.makeUShapeRebar()
function.structure
and facename
may be omitted so that the rebar stays in the original structure.import UShapeRebar
UShapeRebar.editUShapeRebar(Rebar, 50, 50, 20, 20,
16, 20, 5, True, 5, "Top")
UShapeRebar.editUShapeRebar(Rebar2, 70, 50, 20, 20,
16, 70, 5, True, 5, "Top")